using System;

namespace AvaloniaDrawingPad.Models.Commands
{
    /// <summary>
    /// 命令接口，定义撤销和重做操作
    /// </summary>
    public interface ICommand
    {
        /// <summary>
        /// 执行命令
        /// </summary>
        void Execute();
        
        /// <summary>
        /// 撤销命令
        /// </summary>
        void Undo();
        
        /// <summary>
        /// 获取命令描述
        /// </summary>
        string Description { get; }
    }
} 